/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fase2.pt.iul.sid.model;

/**
 *
 * @author Ricardo Marques
 */
public class PratoModel {
    
    private String descricao;
    private Double preco;
    private int idPrato;
    private Double rating;

    public PratoModel(int idPrato, Double preco, String descricao, Double rating){
        
        this.idPrato = idPrato;
        this.descricao = descricao;
        this.preco = preco;
        this.rating = rating;
        
    }
    
    public String getDescricao() {
        return descricao;
    }

    public void setDescricao(String descricao) {
        this.descricao = descricao;
    }

    public Double getPreco() {
        return preco;
    }

    public void setPreco(Double preco) {
        this.preco = preco;
    }

    public int getIdPrato() {
        return idPrato;
    }

    public void setIdPrato(int idPrato) {
        this.idPrato = idPrato;
    }

    public Double getRating() {
        return rating;
    }

    public void setRating(Double rating) {
        this.rating = rating;
    }

    @Override
    public String toString() {
        return descricao;
    }
    
    
    
}
